/**
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */

.sidebar {
  /* max-height: calc(100vh - (var(--ifm-navbar-height) + 2rem)); */
  overflow-y: auto;
  /* position: sticky; */
  /* top: calc(var(--ifm-navbar-height) + 2rem); */
  background-color: var(--ifm-color-gray-0);
  padding: 1rem;
}

html[data-theme=dark] .sidebar {
  background-color: var(--ifm-color-gray-900);
}

.categories {
  margin-bottom: 1rem;
}

.sidebarItemTitle {
  font-size: var(--ifm-h3-font-size);
  font-weight: var(--ifm-font-weight-bold);
}

.sidebarItemList {
  list-style: none;
  font-size: 0.9rem;
  padding-left: 0;
  margin-bottom: 0;
}

.sidebarItem {
  margin-top: 0.4rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--ifm-color-gray-200);

  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

html[data-theme=dark] .sidebarItem {
  border-color: var(--ifm-color-gray-800);
}

.sidebarItem:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.sidebarItemLink {
  color: var(--ifm-font-color-base);
}
.sidebarItemLink:hover {
  text-decoration: none;
}
.sidebarItemLinkActive {
  color: var(--ifm-color-primary);
}

.nozzleNinzaBlock {
  background: #2D3E4F !important;
  color: #fff;
  padding: 18px 16px 30px 16px;
  margin-bottom: 1rem;
  h1 {
    margin-bottom: 0;
  }
  h3 {
    margin-bottom: 10px;
  }
}

.obicoAccent {
  color: #03DAC5;
}

.nozzleNizaBadgeImage {
  text-align: center;
  margin-bottom: 28px;
}

.learnMoreButton {
  border: 1px solid #181623;
  box-sizing: border-box;
  border-radius: 44px;
  line-height: 1.5;
  font-weight: 600;
  display: inline-block;
  font-size: 18px;
  text-align: center;
  padding: 8px 0 9px 0;
  width: 100%;
  &:hover {
    cursor: pointer;
    text-decoration: underline;
  }
}

@media only screen and (max-width: 996px) {
  .sidebar {
    margin-top: 2rem;
  }
}
